package com.shebei.api.equipment_api_test.selenium;


import org.openqa.selenium.chrome.ChromeDriver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ParkCloud {

    @Autowired
    ClientDriver clientDriver;


    public ChromeDriver driver=null;



    public void  test(){
        driver=clientDriver.getChrome();

        System.setProperty("webdriver.chrome.driver", "/usr/local/bin/chromedriver");
        String url = "http://cloud.tdzntech.com";
        driver.get(url);
    }




}
